package crp.services.api.graphql.models;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import org.eclipse.microprofile.graphql.Type;

import javax.validation.constraints.NotNull;

@Type("WorkflowInstanceContext")
@Builder
@Getter
@AllArgsConstructor
public class WorkflowInstanceContextPayload {
    @NotNull
    private String topic;
    @NotNull
    private String externalInfo;
    @NotNull
    private String submittedBy;
    @NotNull
    private String formAttributes;
}
